package com.xjh.him.vo.userseesion;

import lombok.Data;
import org.xjh.tool.dto.BaseDTO;
import org.xjh.tool.vo.BaseVO;

@Data
public class UserSessionVO extends BaseVO {
    public static final String GROUP_TYPE_SINGLE = "single";
    public static final String GROUP_TYPE_MULTIPLE = "multiple";

    Long targetId;

    Long friendId;

    /**
     * 群类型，单聊：single、群聊：multiple
     */
    String groupType;

    String groupName;

    String groupAvatar;

    String newestMsg;

    Boolean isTop;

    @Data
    public static class SessionMember extends BaseDTO {
        private Long id;
        private String nickname;
        private String avatar;
    }
}
